<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.infomanage.util.Consts"%>
<%@page import="com.infomanage.po.User"%>
<%@page import="com.menu.MenuUtil" %>
<%  
	User user = (User)session.getAttribute(Consts.LOGINED_USER);
%>
<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "smoothmenu1", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	//customtheme:["url('bg_over.jpg')", "url('bg_normal.jpg')"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});

function startupLocalExe(){
	if(window.confirm("确定启动车辆监控本地程序吗？")){
		hiddenForm.submit();
	}
}

</script>
<div id="smoothmenu1" class="ddsmoothmenu">
	<div class="top_menu_left">
		<img id="top_hide_img" src="img/common/top_hide1.gif" onclick="hideTop();" flag="1">
	</div>
	<span class="top_menu_right" id="top_menu_right">
		<img src="img/menu/menu_back.png" id="menuBack" flag="disable"
			onclick="menuBack();" 
			onmouseover="imgOver(this);"
			onmouseout="imgOut(this);"
			style="margin-right:4px;"/><img id="menuForward" flag="enable"
			src="img/menu/menu_forward.png" 
			onmouseover="imgOver(this);"
			onmouseout="imgOut(this);"
			onclick="menuForward();"/>
	</span>
	<%=MenuUtil.buildMainMenu(user)%>
	<br style="clear: left" />
</div>

<script type="text/javascript" src="js/menu_top.js"></script>
<script type="text/javascript" src="js/menu_h.js"></script>
<body >
	<form name="hiddenForm" action="<%=request.getContextPath() %>/other/localExe_startup_action.jsp" target="actionFrame"></form>
	<iframe src="#" name="actionFrame" style="display: none;"></iframe>
</body>

